package com.wangijun.yuan.admin.blog.model.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 用户信息 保存参数
 * </p>
 *
 * @author Wlf
 * @since 2024-08-26
 */
@Getter
@Setter
@Schema(name = "UserInfo", description = "用户信息")
public class UserInfoUpdateParam {
    @NotNull(message = "主键不可为空")
    @Schema(description = "用户ID")
    private Long id;

    @Schema(description = "用户名")
    private String username;

    @Schema(description = "年龄")
    private Integer age;

    @Schema(description = "邮箱")
    private String email;

    @Schema(description = "头像")
    private String avatar;

    @Schema(description = "个人简介")
    private String summary;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "修复时间")
    private LocalDateTime updateTime;

    @Schema(description = "用户状态")
    private Integer userStatus;

    @Schema(description = "用户文章阅读量")
    private Integer readNum;

    @Schema(description = "用户文章总数")
    private Integer artCount;

    @Schema(description = "粉丝数量")
    private Integer fansNum;

    @Schema(description = "关注用户数量")
    private Integer favUserNum;

    @Schema(description = "用户收藏文章数量")
    private Integer favArticleNum;

    @Schema(description = "主页地址")
    private String homeLink;
}
